package com.wdf.project03.service;

import com.wdf.project03.pojo.Emp;
import com.wdf.project03.pojo.PageBean;
import org.apache.ibatis.annotations.Insert;

import java.time.LocalDate;
import java.util.List;

public interface EempService {
    public List<Emp> selectByQuery(String name, Short gender, LocalDate begin, LocalDate end);

    public PageBean page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

    void deleteById(Integer id);

    void updateById(Emp emp);

    Emp selectById(Integer id);


    void insert(Emp emp);

    Emp selectCount(Emp emp);
}
